package equipments.enumeration;

/**
 * This interface is used to regroup all the enum class that can be use
 * for the identification of the slot where to equip an item.
 * @author Baptiste Legrand & Benjamin Orman
 * @version 2.0
 */
public interface EquipmentSlots {
  /**
   * Returns the EquipmentSlots equivalent of a String given in parameter.
   * @param value The String that we want to know the linked slot
   * @return EquipmentSlots The EquipmentSlots linked to the String.
   */
  public EquipmentSlots getSlot(String value);
  /**
   * Returns the property key, which correspond to the Multilanguage traduction,
   * linked to a given EquipmentSlots.
   * (Ex : PANTS.toString() -> slots.Pants.label).
   * @param equipment The slot we want to get the propertykey.
   * @return The property key which correspond to the Multilanguage traduction
   */
  public String toString(EquipmentSlots equipment);
}